package com.easyOrder.dao;

import com.easyOrder.model.RequisitionDetail;
import com.easyOrder.model.RequisitionDetailExample;
import java.util.List;

import com.easyOrder.param.requisition.RequisitionParamDetail;
import org.apache.ibatis.annotations.Param;

public interface RequisitionDetailMapper {
    int countByExample(RequisitionDetailExample example);

    int deleteByExample(RequisitionDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RequisitionDetail record);

    int insertSelective(RequisitionDetail record);

    List<RequisitionDetail> selectByExample(RequisitionDetailExample example);

    RequisitionDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RequisitionDetail record, @Param("example") RequisitionDetailExample example);

    int updateByExample(@Param("record") RequisitionDetail record, @Param("example") RequisitionDetailExample example);

    int updateByPrimaryKeySelective(RequisitionDetail record);

    int updateByPrimaryKey(RequisitionDetail record);

    void batchInsert(List<RequisitionParamDetail> items);

}